import request from '@/utils/request'

export function listengpartInv(query) {
  return request({
    url: '/part/engpartInv/list',
    method: 'get',
    params: query
  })
}

export function createengpartInv(data) {
  return request({
    url: '/part/engpartInv/create',
    method: 'post',
    data
  })
}

export function readengpartInv(data) {
  return request({
    url: '/part/engpartInv/get/' + data.id,
    method: 'get'
  })
}

export function updateengpartInv(data) {
  return request({
    url: '/part/engpartInv/update',
    method: 'post',
    data
  })
}

export function deleteengpartInv(data) {
  return request({
    url: '/part/engpartInv/delete',
    method: 'post',
    data
  })
}
